SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38f0dbcf7a014a8975cf20aadfd8fcfe82fe9d0a2f70b7225f28eb1065d1bb3a' 
  AND token = 'r2DdwpK/Ge/uQNzilr59SY7kbBze0CzTvGMDGtUEh0w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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