SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec8fe98d1824014439136e5801baea2be4302e7ff15dbfcdc37fd5895bd14884' 
  AND token = '5j+O0MSgG6Uuk+iTKGdUsOMSSAPt56i7vKSQ2ChHk9Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00232

JSON explain

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