SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6383e97ad1a0cf7e0a8f1774de3947dfb87a06fb4e132f3da061b6816331b4b0' 
  AND token = 'X9QOFQgRT9Yn8Z8GlOpb0IUISLkWz171dEwFc2PH+k0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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