SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f778b61084fe26ff65863d284de5c592271d22b0a6fa626f658dcfbc21dd8d2' 
  AND token = 'kWsAVD69tMJd17irtYMtCE31I4TBxb3dqKoI2UsM3K8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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