SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '245c896cfe33abcbc43f452c813c8e212b836daeb0b079261e41bd0cd986dadc' 
  AND token = 'cFcm2hc93LTS+kVq04eM+L99mwpurxh9DUTfHDa6MSk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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