SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0cd4e0e5c9976505d2712feb790037945654d25be553f78ff4dfd133c17abc41' 
  AND token = '7EDQohyDhPVo3WXZXmQlp58DSeS6qMizIm9tKzNypME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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