SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6a23173accf2b9603388728994cda8c95086e6fa369a11fbc3f1c82bfd8dfae' 
  AND token = 'oSqvBsyihFB8+DcuKRdtpAJ2Z+NWIPjM9GbMWOHq0bE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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