SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0702874d1fab7406b7dc597a2fdb8bad866b83bf143839bcbd91414d10c1bed7' 
  AND token = 'Xzy2GmLzJUzgWv5PZHvYUqCxCDzwjJ+hzUyIjKmE8R0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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