SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2547f7d1641ae1ecfcc85228d425b4d3f3059752d29c19b28d4b19fc20fcba39' 
  AND token = 'k0NjMO7FuKnJH3xO2oCzNrTu/twCYgT+l2Q3MGvTwOA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00082

JSON explain

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