SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25de19a8c74817b807daa8e09f8a7d98017b5175ca2a2d9502922a156714739f' 
  AND token = 'vmsM22aUP3QFPX77QISght47wH58FdvPouqY9NZ0uok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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