SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '780aef7985a86ee20d8319a9ced5c4f87d4495e993b6eab9f61b351ce7b9560f' 
  AND token = '1jizei5Jk83GgELkdFtE1Inb3cbqptMWRGp8yAgzLgI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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