SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865d75d84bf2bbc8033ab6939f280d15017b832042bfb4118a0ee1db1132215a' 
  AND token = 'Bpfb9Pu12TJxqFy3/aJM5Kk2qqkgOyMhvP4hiCDzd/M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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