SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c91a32732fb2690457f312878666fd975b85a2eddf15f284efb9f912b743fb4' 
  AND token = '8Qc4DSlog9/FsApPACJ01zAadgAWltoLHC7AXSrEt0s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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