SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b029e7f5ceb4bb6b9118c81df4258993e0e4b697064797d639ff84c65c49736' 
  AND token = 'Y5ESn9C+7Gn8hpyYSyyw3DtE1G7s2MPw1y0FxcWSbo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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