SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71ed78ebf0412423f3430760df0addaa703e93d0053a8709298f1e410bd73949' 
  AND token = 'JudNzlvP64hFI+KqNa6DO+3p7CRt7cnRp2Nswj5vF8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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