SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03bd0f7858c9f42e106608e09d829050e3f52a079f1fe2776a483621b76e2a54' 
  AND token = 'IXDbrgqY1pAcwMrOpV3f7Q0+GxDhvy/Tb8GH4YOW8Qk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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