SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50df5a8da8b17b5e5292c7c8041fc70aa6b665a47ae04ce18f420782dc3cabbb' 
  AND token = '5h87vejHkEKXDkoCpqn/ZXDD4b8yyB/+dI8BKhCJCbM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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