SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '638d0931f489af10f8a7d77d0e100de7e80c14d5f7a0541f446bcd742b662018' 
  AND token = 'qUPjCOgoNnJgW8TzUK6mHpwrk3zjj7au0AT91UUqo64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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