SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ed273a7147df866b6c257a257420faf9ce0c9af315e5da7f6f8e99f854101cd' 
  AND token = 'ultuJ4EIVCUtUKpVtjIGoUvX7QnVE022BNr0+h50XCo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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