SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e7ef61c7d809c0987c70f7be9806d92bee08dfaf0cf7af6091831bada440dfcd' 
  AND token = 'BNVak6Y736gf1DzOW//ynT67A0SgPD6QHsuxycVa304=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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