SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4c74092b8173d71f9e65905a3d5b25144ee7e026daf94ac3d0d4bf51147bce4' 
  AND token = 'e7FN1VGAnN7XMxfxQ0YXm7LGk2s9C7x2WgPRE1n8G0Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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