SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef967930e2a504fdf67d11a3d1b782bcce88e8173725fb2c8484ce1ce4a7d4fe' 
  AND token = 'R8Z8/sn4r6uPuSY2VNOWPFEgoKyLGd/45QIhjI4FQ2o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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