SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd574a1186eeb0561938468928eb0c3d192a908aa941b4fb5c2f40793d25a162' 
  AND token = 'XvCmD8Q4TQBAKr79Qvh+MkvZLBoWVg7NbONnkIgfoe4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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