SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1a97af9b680f4075b3cf4b81decf4ff30eca7ec34cb38e8237ca6e861f2a9d3' 
  AND token = '5PnEgBRuoYVHhnuOfdotu54KGRvG3Kl1NQBlVoXraXY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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