SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27a2262e845589b84cf5d934f65efcdc3dc457d1a7eefd31c12c196c429406c1' 
  AND token = 'D9l77Xief/r6w6oqfZg1TOqlnyLKWPer0TjATcj09jQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}